
<li id="item-<?php echo $data->user_id; ?>" class="view" onmouseover="hoverOverShow($(this));" onmouseout="hoverOutHide($(this));" style="min-height:30px;border-bottom:1px dashed grey;padding:5px 5px;">
	<div class="left" style="width:30px;">
		<input type="checkbox" name="link_item" value="<?php echo $data->user_id;?>" />
	</div>
	<div class="left"  style="width:25%;">
		<span class="left">			
			<?php echo CHtml::link(CHtml::encode($data->user_name), 'javascript:return false;',array('class'=>'user-item-name','id'=>$this->createUrl('update',array('id'=>$data->user_id)),'onclick'=>'actionShow($(this));')); ?>/
		</span>
		<span class="left ui-icon ui-icon-<?php if ($data->user_group == User::USER_FORBID) echo 'locked'; elseif ($data->user_group == User::USER_ADMIN) echo 'star'; elseif ($data->user_group == User::USER_SUPER) echo 'person'; elseif ($data->user_group == User::USER_NORMAL) echo 'heart';?>"></span>
		<span class="quick left hide" gid="<?php echo $data->user_id; ?>">		
        	<span id="<?php echo $this->createUrl('user/view',array('id'=>$data->user_id));?>" class="ui-icon ui-icon-zoomin left" onclick="actionShow($(this));" title="<?php echo Yii::t('admin','PREVIEW');?>"></span>
            <span id="<?php echo $this->createUrl('user/password',array('id'=>$data->user_id));?>" class="ui-icon ui-icon-pencil left" onclick="actionShow($(this));" title="<?php echo Yii::t('user','Change Password');?>"></span>
			<span id="<?php echo $this->createUrl('user/update',array('id'=>$data->user_id,'status'=>User::USER_SUPER));?>" class="ui-icon ui-icon-person left" onclick="actionStatus($(this));" title="<?php echo User::model()->getUserGroupName(User::USER_SUPER);?>"></span>
            <span id="<?php echo $this->createUrl('user/update',array('id'=>$data->user_id,'status'=>User::USER_ADMIN));?>" class="ui-icon ui-icon-star left" onclick="actionStatus($(this));" title="<?php echo User::model()->getUserGroupName(User::USER_ADMIN);?>"></span>
            <span id="<?php echo $this->createUrl('user/update',array('id'=>$data->user_id,'status'=>User::USER_NORMAL));?>" class="ui-icon ui-icon-heart left" onclick="actionStatus($(this));" title="<?php echo User::model()->getUserGroupName(User::USER_NORMAL);?>"></span>
            <span id="<?php echo $this->createUrl('user/update',array('id'=>$data->user_id,'status'=>User::USER_FORBID));?>" class="ui-icon ui-icon-locked left" onclick="actionStatus($(this));" title="<?php echo User::model()->getUserGroupName(User::USER_FORBID);?>"></span>
        </span> 
        <span class="left">
        	
        </span>
			
	</div>

	<div class="left" style="width:15%;">
		<?php echo User::model()->getUserGroupName($data->user_group);?>
	</div>
	<div class="left" style="width:50%;">
		<?php echo CHtml::encode($data->user_remark); ?>
	</div>
</li>
